#ifndef SINGULARITY_H
#define SINGULARITY_H

#include "RadialAccelerator.h"

/**
 * The Singularity class describes a Singularity (in the physics sense)
 * that can affect the objects around it. A Singularity can be customized
 * to affect certain objects and at a certain magnitude.
 */
class Singularity: public RadialAccelerator
{
public:
	float magnitude;
	float gravConst;
	
	Singularity(float m, float r, float g);
	void affect(Entity *);
	bool withinRadius(Entity *);
	float getEffectiveRadius();
	void setEffectiveRadius(float r);
};

#endif